#pragma  once

#include <wdm.h>

VOID QInsertIrp (
				 IN PIO_CSQ Csq,
				 IN PIRP pIrp
				 );

VOID QRemoveIrp(
				IN PIO_CSQ Csq,
				IN PIRP pIrp
				);

PIRP QPeekNextIrp(
				  IN  PIO_CSQ Csq,
				  IN  PIRP    pIrp,
				  IN  PVOID  PeekContext
				  );

VOID QAcquireLock(
				  IN PIO_CSQ Csq,
				  __out PKIRQL  Irql
				  );

VOID QReleaseLock(
				  IN PIO_CSQ Csq,
				  IN KIRQL Irql
				  );


VOID QCompleteCanceledIrp(
						  IN  PIO_CSQ	pCsq,
						  IN  PIRP	pIrp
						  );
